import java.util.HashMap;
import java.util.Map;

import com.hp.util.CloneUtils;

public class GG {

	@SuppressWarnings({ "unchecked", "rawtypes" })
	public static void main(String[] args) {
        
        Map map = new HashMap();
        map.put( "key1", 1);
        Map del = new HashMap();
        del.put("gg","del");
        map.put("del",del);
        Map mapFirst = new HashMap();
   //     mapFirst = CloneUtils.clone(new HashMap());
      //  mapFirst.putAll(map); //深拷贝
        
        System. out.println(mapFirst);

        mapFirst.put( "key2", 3);
        mapFirst.remove( "key1");
        
        Map mapaa = (Map) mapFirst.get("del");
        mapaa.put("gga","dfdf");
        mapaa.remove("del");
        System. out.println(mapFirst+"哈哈哈");
        System. out.println(map);
  }
}